package com.wkck.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;
import org.apache.tomcat.jni.Local;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author: CK
 * @Date: 2024/02/08/17:52
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("company_photo")
@Builder
public class CompanyPhoto {

    @TableId(value = "cpid", type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long cpid;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String cp_uuid;

    private String key_md5;

    private String file_name;

    private String bucket;

    private Integer status;

    private String location;

    private Long file_size;

    private LocalDateTime create_time;

    private LocalDateTime update_time;

    private Integer create_user;

    private Integer update_user;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer company_id;

}
